<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/7/17 0017
  Time: 上午 1:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String ctxPath = request.getContextPath();
%>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset = "utf-8">
    <meta http-equiv = "X-UA-Compatiable" content = "IE=edge">
    <meta name = "viewport" content = "width=device-width,initial-scale=1">
    <title>首页</title>
    <!-- Bootstrap -->
    <script src="<%=ctxPath%>/static/bootstrap-3.3.5-dist/js/jquery.min.js"></script>
    <link href="<%=ctxPath%>/static/bootstrap-3.3.5-dist/css/bootstrap.min.css" rel="stylesheet" />
    <link href="<%=ctxPath%>/static/bootstrap-3.3.5-dist/css/button.css" rel="stylesheet" />
    <link href="<%=ctxPath%>/static/teacher/css/reg.css" rel="stylesheet" />
    <script src="<%=ctxPath%>/static/student/js/regnew.js"></script>

</head>
<body>
    <div class="regBack">
        <img src="<%=ctxPath%>/media/img/reg/regBack.jpg"/>
    </div>
    <div class="reg">
        <br/>
        <div class="reg-title">创建学生账号</div>
        <form action="<%=ctxPath%>/reg/doreg.wm?tip=student" method="post" id="regForm" name="teacherReg">
            <div class="reg-info">
                <div>
                    <div class = "lable">姓名</div>
                    <div class = "inputform">
                        <input id = "name" name = "xingming" class = "input" type = "text"/><span id="name_ok"></span>
                        <div class = "clr" id = "name_mes" ></div>
                    </div>
                </div>
                <div>
                    <div class = "lable">手机号</div>
                    <div class = "inputform">
                        <input id = "phone" name = "shoujihao" class = "input" type = "text"/><span id="phone_ok"></span>
                        <div class = "clr" id = "phone_mes" ></div>
                    </div>
                </div>
                <div>
                    <div class = "lable">设置密码</div>
                    <div class = "inputform">
                        <input  class = "input" id = "passwd" name = "mima" type = "password"/><span id="passwd_ok"></span>

                        <div class = "clr" id = "passwd_mes" >

                        </div>
                    </div>
                </div>
                <div>
                    <div class = "lable">确认密码</div>
                    <div class = "inputform">
                        <input class = "input" id = "confPasswd" name = "mimab" type = "password"/><span id="confPasswd_ok"></span>
                        <div class = "clr" id = "confPasswd_mes" ></div>
                    </div>
                </div>
                <div class = "button_reg">
                    <input type = "button" id="regSub" class = "btn btn-success" value = "提交注册"/>
                </div>
                <div class="set">
                    <div class="setStatus" id="setStatus">
                        <a href="<%=ctxPath%>/teacher/teacherRegTemp.jsp">教师注册</a>
                        <a href="<%=ctxPath%>/login/login1.jsp">已有账号，登录</a>
                    </div>
                </div>
            </div>
        </form>
    </div>
</body>
</html>